* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.notice {
    display: flex;
    justify-content: center;
}

.main-wrap {
    background-color: #f7d5ad;
    padding-bottom: 100px;
    width: 100%;
    max-width: 1482px;
}

@media screen and (max-width: 1362px) {
    .nm-p {
        width: 60% !important;
    }

    .custom-input-year {
        width: 20% !important;
    }

    .custom-input-witness {
        width: 31% !important;
    }
}

.custom-input {
    margin: 0 10px;
    width: 71%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #000;
    border-style: dashed;
    outline: none;
    box-shadow: none;
}

.custom-input-1 {
    margin: 0 10px;
    width: 50%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #000;
    border-style: dashed;
    outline: none;
    box-shadow: none;
}

.custom-input-witness {
    margin: 0 10px;
    width: 50%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #000;
    border-style: dashed;
    outline: none;
    box-shadow: none;
}

.custom-input-sign {
    margin: 0 10px;
    width: 50%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #000;
    border-style: dashed;
    outline: none;
    box-shadow: none;
}

.custom-input-year {
    margin: 0 10px;
    width: 50%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #000;
    border-style: dashed;
    outline: none;
    box-shadow: none;
}

.main-head {
    padding: 20px 0px;
    text-align: center;
}

.main-head h2 {
    font-weight: 700;
}

.top-content {
    margin: auto 68px;
    font-size: 16px;
    display: flex;
    align-items: baseline;
}

.top-content p {
    font-weight: 500;
}

.top-2-content {
    margin: auto 68px;
    font-size: 16px;

}

.top-2-content {
    font-weight: 500;
}

.start-paded {
    padding-left: 35%;
}

.notice-table-sec {
    margin: auto 68px;
}

.notice-table-sec .table-bordered td {
    border: 1px solid black !important;
}

.notice-table-sec .table-bordered th {
    border: 1px solid black !important;
    vertical-align: middle;
    /* Vertically center the content */
    padding: 8px;
    font-weight: 500;
    font-size: 14px;
    height: 10px;
}

.notice-table-sec td {
    height: 75px;
}

.notice-table-sec th {
    padding: 3px !important;
    height: 15px !important;
}

.sign {
    padding-right: 180px;
    display: flex;
    align-items: baseline;
    justify-content: end;
}

.signature {
    padding-top: 48px;
}



/* Certificate of Marriage::Start */
.certificate-main-wrap {
    background-color: #ecff7f38;
    width: 100%;
    max-width: 1499px;
}

.certificate-main-size {
    margin: auto 68px;
    padding-bottom: 50px;
}

.certificate-main-head {
    padding: 60px 0px 0px 0px;
    text-align: center;
}

.certificate-main-head h2 {
    font-weight: 700;
    font-size: 26px;
    /* margin-bottom: 15px; */
}

.certificate-table-sec .table-bordered td {
    border: 1px solid black !important;
    vertical-align: middle;
    /* Vertically center the content */
    padding: 8px;
    font-weight: 500;
    font-size: 14px;
    height: 10px;
}

.certificate-table-sec .table-bordered th {
    border: 1px solid black !important;
    vertical-align: middle;
    /* Vertically center the content */
    padding: 8px;
    font-weight: 500;
    font-size: 14px;
    height: 10px;
}

.certificate-main-head {
    position: relative;
}

.certificate-no {
    position: absolute;
    right: -64px;
    top: 28px;
    display: flex;
    align-items: baseline;
}

.certified {
    display: flex;
    align-items: baseline;
}

.certificate-text p {
    font-size: 16px;
    font-weight: 500;
}

.second-row {
    height: 100px;
}

.r-align {
    display: flex;
    justify-content: center;
}

.space {
    margin: 51px 0px 0px 50px;
    width: 178px;
    text-align: center;
}

.left {
    margin-top: 40px;
}

.certificate-text .space {
    position: relative;
}

.certificate-text-right {
    position: absolute;
}

.brace {
    justify-content: space-between
}

.brace p {
    margin: 0px;
    font-weight: 600;
}

.alin-2 {
    margin-top: 55px;
}

.brace-r {
    position: absolute;
    right: 172px;
    top: -10px;
}

.brace-r-1 {
    position: absolute;
    right: 170px;
    top: 18px;
}

.brace-r-2 {
    position: absolute;
    right: 169px;
    top: 46px;
}

.certificate-text {
    position: relative;
}

.last {
    justify-content: center;
}

.last-text {
    text-align: center;
    padding-left: 180px;
    display: flex;
    align-items: center;
}

.last-brace {
    display: flex;
    flex-direction: column;
    margin-left: 44px;
}

.last-brace p {
    margin-bottom: 2px;
}

.last-right {
    margin: 80px 0px 0px -50px !important;
}

.last-right p {
    font-size: 16px;
    font-weight: 500;
}

.cetificate-bottom {
    padding-top: 48px !important;
}

@media screen and (max-width: 1293px) {
    .certificate-text {
        margin-right: -80px !important;
        overflow: hidden;
    }
}

@media screen and (max-width: 1293px) {
    .last-brace {
        margin-right: 163px !important;
    }

    .brace-r-1 {
        position: absolute;
        right: 170px;
        top: 20px;
    }

    .brace-r {
        position: absolute;
        right: 172px;
        top: -6px;
    }

    .custom-input-c1 {
        width: 80% !important;
    }

    .alin-2 {
        margin-left: 30px !important;
    }
}


.name-witness {
    margin-top: 80px !important;
}

.last-brace p {
    margin: 0px !important;
}

.custom-input-c1 {
    margin: 0 10px;
    width: 66%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #000;
    border-style: dashed;
    outline: none;
    box-shadow: none;

}

/* Certificate of Marriage::End */


/* Certificate of Baptism::START */

.t-wrap {
    font-weight: 500 !important;
    font-size: 16px !important;
    font-family: inter !important;
}

.bap-text {
    letter-spacing: 0.9px !important;
    border-bottom-width: 5.1px !important;
    padding-bottom: 12px !important;
    margin-bottom: 0 !important;
    color: #000 !important;
    text-decoration: underline dashed;
    text-decoration-skip-ink: auto;
    /* You can adjust the gap value as needed */
    text-underline-offset: 5px;
    text-decoration-thickness: -1px;
}

.t-wrap {
    width: 100%;
    max-width: 663px !important;
    padding: 0px 0px 0px 20px;
    word-wrap: break-word;
    font-size: 20px;
}

.baptism-main-wrap {
    background-color: #b5ed9b2e;
    width: 100%;
    max-width: 845px;
}

.fixed-1 {
    width: auto;
}

.fixed-2 {
    width: 350px;
}

.baptism-main-head {
    text-align: center;
    padding-top: 18px;
}

.baptism-main-head img {
    width: 35%;
    height: 35%;
}

.fills {
    display: flex;
    align-items: baseline;
}

.fills p {
    font-size: 14px;
    font-weight: 500;
    color: #043682;
}

.baptism-list {
    padding: 20px 50px;
}

.fills-1 {
    display: flex;
    align-items: baseline;
    padding-top: 5px;
}

.fills-1 p {
    font-size: 14px;
    font-weight: 500;
    color: #043682;
}

.baptism-right {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.b-bottom {
    padding-left: 25px;
}

.baptism-s {
    display: flex;
    align-items: flex-end;
}

.baptism-seal p {
    font-size: 16px;
    font-weight: 500;
    color: #043682;
}

.minister {
    align-self: center;
}

.minister-church {
    font-weight: 700 !important;
}

.bap-sec {
    margin-top: 20px !important;
}

.gm {
    margin: 5px 0 0 0 !important
}

/* Certificate of Baptism::END */



/* Family Passport::START */
.no-border {
    border-bottom: none !important;
    border-top: none !important;
}

.passport-main-wrap {
    background-color: #cacaca26;
    width: 100%;
    max-width: 845px;
}

.passport-main-head {
    text-align: center;
    padding: 30px 0px 5px 0px;
}

.passport-main-head h2 {
    font-weight: 800;
    font-size: 36px;
    margin: 0;
}

.passport-main-head p {
    font-size: 18px;
    font-weight: 600;
}

.passport-content {
    padding: 5px 50px;
}

.passport-top {
    display: flex;
}

.remark-right {
    padding-left: 25px;
}

.remark-right p {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
}

.passport-table-sec {
    padding-top: 10px;
}

.passport-table-sec .table-bordered th {
    border: 1px solid black !important;
    vertical-align: middle;
    /* Vertically center the content */
    padding: 8px;
    font-weight: 500;
    font-size: 14px;
    height: 10px;
}

.passport-table-sec .table-bordered td {
    border: 1px solid black !important;
    vertical-align: middle;
    /* Vertically center the content */
    padding: 10px;
    font-weight: 500;
    font-size: 14px;
    height: 10px;
}

.passport-table-data {
    display: flex;
    justify-content: space-between;
}

.children td {
    padding: 20px;
}

.feed-back {
    border: none;
    background-color: transparent;
    width: 100%;
    display: block;
    outline: none;
    overflow: hidden;
}



/* Family Passport::END */

/* Certificate of Burial::Start */

.b-main-wrap {
    background-color: #d2f3c379;
    width: 100%;
    max-width: 782px;
}

.b-main-head {
    text-align: center;
    padding: 30px 0px 5px 0px;
}

.b-main-head h2 {
    font-weight: 700;
    font-size: 28px;
    margin: 0;
    font-family: inter;
}

.burial-forms {
    padding: 5px 50px;
}

.b-fills {
    display: flex;
    align-items: baseline;
}

.b-fills p {
    font-weight: 700;
    font-size: 20px;
    font-family: inter;
}

.b-fills-light p {
    font-weight: 600;
    font-size: 18px;
    font-family: inter;
}

.burial-text {
    display: flex;
    align-items: center;
    margin-top: -20px;
}

.burial-text p {
    margin-bottom: 0px;
}

.b-text-wrap {
    padding-top: 20px;

}

.b-text-wrap p {
    font-weight: 600;
    font-size: 18px;
    font-family: inter;
}

.b-icon p {
    font-size: 70px;
    font-weight: 300;
}

.b-text-1 {
    margin-right: 35px;
}

.b-text-2 {
    margin-right: 38px;
}

.b-text-3 {
    margin-right: 15px;
}

.b-bottom {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.b-minister {
    align-self: center;
    text-align: center;
}

.b-seal {
    display: flex;
    align-items: end;
    font-weight: 600;
    font-size: 18px;
    font-family: inter;
}

.b-minister p {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    font-family: inter;
}

.b-chu p {
    font-size: 20px;
    font-weight: 700 !important;
}

.b-mr {
    margin-left: 25px;
}

.b-input-font {
    padding-left: 20px;
    font-family: inter !important;
    font-size: 16px !important;
    letter-spacing: 1.2px;
    font-weight: 600 !important;
}

.main-for {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: #4e7d97;
}

.for-main h1 {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 42px;
    color: #fff;
    line-height: 1;
}

.for-main h2 {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 24px;
    color: #fff;
    font-weight: 500;
}

.for-main p {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
    color: #fff;
    font-weight: 300;
    margin-bottom: 35px;
    color: #ffffffc5;
}

.back-btn {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 15px;
    border: none;
    background-color: #298ec9;
    border-radius: 5px;
    padding: 8px 20px;
    color: white;
    cursor: pointer;
}

.for-sub {
    margin-bottom: 18px !important;
}

.for-main-img {
    width: 90%;
}

.for-main-img img {
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.right-for {
    display: flex;
    align-items: center;
    justify-content: center;
}

.for-main a {
    text-decoration: none;
    transform: none;
}

.remove-underline-hover {
    text-decoration: none;
    /* Remove underline on the anchor element */
}

.remove-underline-hover:hover {
    text-decoration: none;
    /* Remove underline on hover */
}

.left-for {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Wedding NOC::Start */
.mar-noc {
    display: flex;
    justify-content: center;
}

.mnoc-main-wrap {
    /*background-color: #f4f4f479;*/
    margin-top: 100px;
    width: 100%;
    max-width: 782px;
}

.m-start {
    padding: 50px 105px;
}

.m-to {
    /* font-weight: 500; */
    font-size: 18px;
    font-family: inter;
}

/* Wedding NOC::End */


/* Baptism NOC::Start */
.bap-noc {
    display: flex;
    justify-content: center;
}

.bap-main-wrap {
    /* background-color: #f4f4f479;*/
    margin-top: 100px;
    width: 100%;
    max-width: 782px;
}

.bap-start {
    padding: 50px 23px;
}

.bap-to {
    /* font-weight: 500; */
    font-size: 18px;
    font-family: inter;
}

.bapnoc-input {
    margin: 0 10px;
    width: 71%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #000;
    /* border-style: dashed; */
    outline: none;
    box-shadow: none;
    margin: 0;
}

.bap-end {
    padding-bottom: 100px;
}

/* Baptism NOC::End */


/* Wedding NOC::Start */
.wed-noc {
    display: flex;
    justify-content: center;
}

.wed-main-wrap {
    /* background-color: #f4f4f479; */
    margin-top: 100px;
    width: 100%;
    max-width: 782px;
}

.wed-start {
    padding: 50px 55px;
}

.wed-to {
    /* font-weight: 500; */
    font-size: 18px;
    font-family: inter;
}

/* Wedding NOC::End */